package es.udc.emarketapp.http.view.actionForms;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

import es.udc.fbellas.j2ee.util.struts.action.PropertyValidator;
import es.udc.fbellas.j2ee.util.struts.action.DefaultActionForm;

public class LocaleForm extends DefaultActionForm {

    private String language;
    private String country;
    
    public LocaleForm() {
        reset();
    }
    
    public String getLanguage() {
        return language;
    }
    
    public void setLanguage(String language) {
        this.language = language;
    }
    
    public String getCountry() {
        return country;
    }
    
    public void setCountry(String country) {
        this.country = country;
    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        reset();
    }
    
    private void reset() {
        language = null;
        country = null;
    }

}
